13 HTTP /etc/passwd HTTP 2003/11/13 Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch Marc Ruef marc dot ruef at computec dot ch http://www.computec.ch computec.ch 2004/11/13 2.0 Corrected the plugin structure and added the accuracy values in 1.3. Improved the pattern matching and added the changelog in 2.0 tcp 80 open|send GET /etc/passwd HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# ### *root:* 98 Many administrators create an /etc/passwd to fool attackers. Verify the usefullness of the loadable passwd file. Web servers with public /etc/passwd. Web servers without exposed sensitive data. Configuration A file named /etc/passwd could be detected on the web server. This file may provide sensitive user data. An attacker may use these to start further attacks. Do not provide sensitive data unsecured over the world wide web. Delete the file if not needed on this place. If the file should be reached try to realize limited access (htaccess authentication or firewalling). 15 minutes Yes Yes Yes Medium 9 8 8 8 Most CGI scanners are able to do this check. For example N-Stealth, Whisker and Nikto. Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 http://www.computec.ch